package com.suray.basic.wcs.path.exception;

import com.suray.basic.wcs.path.core.Node;

public class CreatePathFailedException extends RuntimeException {

    private static final long serialVersionUID = 1L;
    private Node start;
    private Node destination;

    public CreatePathFailedException(Node start, Node destination, String message) {
        super(message);
        this.start = start;
        this.destination = destination;
    }

    public Node getStart() {
        return start;
    }

    public Node getDestination() {
        return destination;
    }

}
